package com.my_test.webmagic.module.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2019-05-23
 */
@TableName("floor_lo")
public class FloorLo extends Model<FloorLo> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("author_user_id")
    private Long authorUserId;

    @TableField("author_user_name")
    private String authorUserName;

    @TableField("author_props")
    private String authorProps;

    @TableField("author_portrait")
    private String authorPortrait;

    @TableField("author_user_nickname")
    private String authorUserNickname;

    @TableField("pid")
    private String pid;

    @TableField("spid")
    private String spid;

    @TableField("content")
    private String content;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getAuthorUserId() {
        return authorUserId;
    }

    public void setAuthorUserId(Long authorUserId) {
        this.authorUserId = authorUserId;
    }

    public String getAuthorUserName() {
        return authorUserName;
    }

    public void setAuthorUserName(String authorUserName) {
        this.authorUserName = authorUserName;
    }

    public String getAuthorProps() {
        return authorProps;
    }

    public void setAuthorProps(String authorProps) {
        this.authorProps = authorProps;
    }

    public String getAuthorPortrait() {
        return authorPortrait;
    }

    public void setAuthorPortrait(String authorPortrait) {
        this.authorPortrait = authorPortrait;
    }

    public String getAuthorUserNickname() {
        return authorUserNickname;
    }

    public void setAuthorUserNickname(String authorUserNickname) {
        this.authorUserNickname = authorUserNickname;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public String getSpid() {
        return spid;
    }

    public void setSpid(String spid) {
        this.spid = spid;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "FloorLoEntity{" +
        "id=" + id +
        ", authorUserId=" + authorUserId +
        ", authorUserName=" + authorUserName +
        ", authorProps=" + authorProps +
        ", authorPortrait=" + authorPortrait +
        ", authorUserNickname=" + authorUserNickname +
        ", pid=" + pid +
        ", spid=" + spid +
        ", content=" + content +
        "}";
    }
}
